package com.example.epic.dao;

import com.example.epic.bean.Application;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApplicationDao {
    // 教职工号
    public List<Application> findApplicationByTeacherId(String teacherId);
    // 学号
    public List<Application> findApplicationByStudentId(String studentId);

    public void saveApplication(Application application);

    public void agreeApplication(Integer id);


}
